package com.zhijian.medical.entity.vo.request;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;

/**
 * 发送邮件 新增or修改vo
 *
 * @author auto
 * @version 1.0
 * @date 2023-12-27 20:31:03
 */
@Data
@Api(tags = "发送邮件新增or修改vo")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EmailSendSaveOrUpdateVo implements Serializable {

    private static final long serialVersionUID = -1;

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID", hidden = true)
    private Long id;

    /**
     * 标题
     */
    @ApiModelProperty("标题")
    @NotBlank(message = "标题不能为空")
    private String title;

    /**
     * 内容
     */
    @ApiModelProperty("内容")
    @NotBlank(message = "内容不能为空")
    private String content;

    /**
     * 接收人员类型枚举数组
     */
    @ApiModelProperty("接收人员类型枚举数组")
    private List<Long> userTypeList;

    /**
     * 创建人ID
     */
    @ApiModelProperty(value = "创建人ID",hidden = true)
    private Long createUserId;

}